// 登录接口需要携带参数ts类型
// export interface LoginFormData {
//   username?: string
//   password?: string
// }
//
// export interface ResponseData {
//   code?: number
//   message?: string
//   ok?: boolean
// }
//
// export interface LoginResponseData extends ResponseData {
//   data?: string
// }
//
// export interface userInfoResponseData extends ResponseData {
//   data: {
//     routes: string[]
//     buttons: string[]
//     roles: string[]
//     name: string
//     avatar: string
//   }
// }

import { ResponseData } from '@/api/user/type'
export interface ADFormData {
  position?: number

}
export interface AdData {
  code?: number
  msg?: string
  ok?: boolean
}
export interface AppData {
  code?: number
  msg?: string
  total?:number
  ok?: boolean
}


export interface AdResponseData extends AdData {
  data?: string[]
}
export interface AppResponseData extends AppData {
  data?: string[]
}
